<!DOCTYPE html>
<!-- saved from url=(0034)https://sns.tianqiapi.com/sns/user -->
<html lang="zh-cn"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <meta name="author" content="聊天室系统配置服务 QQ: 445899710 微信: hype522147">
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
    <title>微聊</title>
    <link rel="icon" href="https://sns.tianqiapi.com/favicon.ico" type="image/x-icon">
    <link rel="stylesheet" href="./我的_files/weui.min.css">
    <link rel="stylesheet" href="./我的_files/layer.css">
    <link rel="stylesheet" href="./我的_files/app.css">
        <style>
        body {
            background: #ededed;
        }
    </style>
<link rel="stylesheet" href="./我的_files/layer(1).css" id="layuicss-layer"></head>
<body>
    <!--navbar-->
    <div class="navbar">我</div>
    <div class="line40"></div>
    <a href="javascript:location.href=&#39;/sns/userinfo&#39;" class="weui-media-box weui-media-box_appmsg" style="background: #ffffff; position: relative;">
        <div class="weui-media-box__hd">
            <img class="weui-media-box__thumb" src="./我的_files/006WzJNkly8fxc42sjxisj30u00u0jub.jpg" alt="">
        </div>
        <div class="weui-media-box__bd">
            <h4 class="weui-media-box__title">刘先生</h4>
            <p class="weui-media-box__desc">账号：未设置</p>
        </div>
        <span class="right"></span>
    </a>

    <div class="weui-cells">

        <a class="weui-cell weui-cell_access " href="javascript:location.href=&#39;/sns/userqr&#39;">
            <div class="weui-cell__hd"><img src="./我的_files/icon110.png" class="cellicon"></div>
            <div class="weui-cell__bd">
                <p>我的二维码</p>
            </div>
            <div class="weui-cell__ft"><img src="./我的_files/qrcode.png" width="15"></div>
        </a>
        <a class="weui-cell weui-cell_access " href="javascript:location.href=&#39;/sns/pass&#39;">
            <div class="weui-cell__hd"><img src="./我的_files/icon109.png" class="cellicon"></div>
            <div class="weui-cell__bd">
                <p>登录密码</p>
            </div>
            <div class="weui-cell__ft">未设置</div>
        </a>
        <a class="weui-cell weui-cell_access " href="javascript:location.href=&#39;/sns/userNotice&#39;">
            <div class="weui-cell__hd"><img src="./我的_files/icon105.png" class="cellicon"></div>
            <div class="weui-cell__bd">
                <p>新消息通知</p>
            </div>
            <div class="weui-cell__ft"></div>
        </a>
        <a class="weui-cell weui-cell_access " href="javascript:location.href=&#39;/sns/userSecret&#39;">
            <div class="weui-cell__hd"><img src="./我的_files/icon107.png" class="cellicon"></div>
            <div class="weui-cell__bd">
                <p>隐私</p>
            </div>
            <div class="weui-cell__ft"></div>
        </a>
        <a class="weui-cell weui-cell_access " href="javascript:location.href=&#39;/sns/userBad&#39;">
            <div class="weui-cell__hd"><img src="./我的_files/icon108.png" class="cellicon"></div>
            <div class="weui-cell__bd">
                <p>黑名单</p>
            </div>
            <div class="weui-cell__ft"></div>
        </a>
        <div class="weui-cell" onclick="clearmsg()">
            <div class="weui-cell__hd"><img src="./我的_files/icon104.png" class="cellicon"></div>
            <div class="weui-cell__bd">
                <p>清除聊天记录</p>
            </div>
        </div>
    </div>
    <div class="weui-cells">
        <a class="weui-cell weui-cell_access " href="javascript:location.href=&#39;/sns/about&#39;">
            <div class="weui-cell__hd"><img src="./我的_files/icon103.png" class="cellicon"></div>
            <div class="weui-cell__bd">
                <p>关于微聊</p>
            </div>
            <div class="weui-cell__ft"></div>
        </a>
    </div>

    <div class="weui-cells">
        <a class="weui-cell weui-cell_access " href="javascript:userexit();" style="text-align: center; display: block; color: #fa5151">退出登录</a>
    </div>
    <div class="line40"></div><div class="line40"></div>
    <div>
        <div class="weui-mask" id="iostask" style="opacity: 1; display: none;"></div>
        <div class="weui-actionsheet" id="iosActionsheet">
            <div class="weui-actionsheet__title">
                <p class="weui-actionsheet__title-text" style="font-size: 13px;">确定要退出吗</p>
            </div>
            <div class="weui-actionsheet__menu">
                <div class="weui-actionsheet__cell" style="color: #fa5151;" onclick="javascript:location.href=&#39;/sns/exit&#39;">确定
                </div>
            </div>
            <div class="weui-actionsheet__action">
                <div class="weui-actionsheet__cell" onclick="hideActionSheet()">取消</div>
            </div>
        </div>
    </div>
    <!--删除聊天记录-->
    <div>
        <div class="weui-mask" id="iostask2" style="opacity: 1; display: none;"></div>
        <div class="weui-actionsheet" id="iosActionsheet2">
            <div class="weui-actionsheet__title">
                <p class="weui-actionsheet__title-text" style="font-size: 13px;">将删除所有个人和群的聊天记录。</p>
            </div>
            <div class="weui-actionsheet__menu">
                <div class="weui-actionsheet__cell" style="color: #fa5151;" onclick="removemsg()">清空聊天记录</div>
            </div>
            <div class="weui-actionsheet__action">
                <div class="weui-actionsheet__cell" onclick="hideActionSheet2()">取消</div>
            </div>
        </div>
    </div>
    <!--tabbar-->
    <div style="position: fixed; bottom: 0; left: 0; width: 100%; z-index: 9999;">
        <div class="weui-tabbar">
            <a href="javascript:location.href=&#39;/sns/talk&#39;" class="weui-tabbar__item ">
                <span style="display: inline-block;position: relative;">
                        <img src="./我的_files/msg.png" alt="" class="weui-tabbar__icon">
                                    </span>
                <p class="weui-tabbar__label">消息</p>
            </a>
            <a href="javascript:location.href=&#39;/sns/friend&#39;" class="weui-tabbar__item ">
                <img src="./我的_files/book.png" alt="" class="weui-tabbar__icon">
                <p class="weui-tabbar__label">通讯录</p>
            </a>
                        <a href="javascript:location.href=&#39;/sns/user&#39;" class="weui-tabbar__item weui-bar__item_on">
                <img src="./我的_files/set_cur.png" alt="" class="weui-tabbar__icon">
                <p class="weui-tabbar__label">我的</p>
            </a>
        </div>
    </div>
<script type="text/javascript" src="./我的_files/jquery.min.js"></script>
<script type="text/javascript" src="./我的_files/layer.js"></script>
<script type="text/javascript" src="./我的_files/app.js"></script>
    <script type="text/javascript">
        function userexit() {
            showActionSheet()
        }
        function clearmsg() {
            $('#iosActionsheet2').addClass('weui-actionsheet_toggle');
            $('#iostask2').fadeIn(200);
        }
        function hideActionSheet2() {
            $('#iosActionsheet2').removeClass('weui-actionsheet_toggle');
            $('#iostask2').fadeOut(200);
        }
        function removemsg() {
            $.ajax({
                type: 'POST',
                url: '/sns/userMsgClear',
                data: '',
                dataType: 'JSON',
                error: function () {
                    layer.alert('网络错误');
                },
                success: function (res) {
                    if (res.errcode == 0) {
                        layer.msg(res.errmsg);
                        hideActionSheet2()
                    } else {
                        layer.msg(res.errmsg);
                    }
                }
            });
        }
    </script>

</body></html>